package com.suning.sawp.po.customer;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
/**
 * 
 * 客户跟进记录表<br> 
 * 〈功能详细描述〉
 *
 * @author 12061818
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@Entity(name = "CUST_FOLLOW_RECORD")
public class CustFollowRecord implements Serializable {

    /**
     */
    private static final long serialVersionUID = 382644415142412891L;

    /**
     * 客户关系id
     */
    private Long custRelId;
    
    /**
     * 店员工号
     */
    private String staffId;
    
    /**
     * 跟进方式
     * 1-微信2-千里传音
     */
    private Integer followType;
    
    /**
     * 备注
     */
    private String remark;
    
    /**
     * 跟进时间
     */
    private Date createTime;
    
    /**
     * 下次跟进时间
     */
    private String nextFollowTime;
    
    /**
     * 跟进结果
     */
    private String result;

    @Column(name = "CUST_REL_ID")
    public Long getCustRelId() {
        return custRelId;
    }

    public void setCustRelId(Long custRelId) {
        this.custRelId = custRelId;
    }

    @Column(name = "STAFF_ID")
    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    @Column(name = "FOLLOW_TYPE")
    public Integer getFollowType() {
        return followType;
    }

    public void setFollowType(Integer followType) {
        this.followType = followType;
    }

    @Column(name = "REMARK")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Column(name = "CREATE_TIME")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name = "NEXT_FOLLOW_TIME")
    public String getNextFollowTime() {
        return nextFollowTime;
    }

    public void setNextFollowTime(String nextFollowTime) {
        this.nextFollowTime = nextFollowTime;
    }

    @Column(name = "RESULT")
    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public interface FollowType {
        int WECHAT = 1;
        int THOUSAND_SOUND = 2;
    }
    
    @Override
    public String toString() {
        return "CustFollowRecord [custRelId=" + custRelId + ", staffId=" + staffId + ", followType=" + followType
                + ", remark=" + remark + ", createTime=" + createTime + ", nextFollowTime=" + nextFollowTime
                + ", result=" + result + "]";
    }
    
}
